export  default {
  namespaced:true,//  默认是false 
  state:{
    userInfo: {
       name: 'tom',
	 	   skills: ['抖音', 'B站', '美团'],
    	 address: '武汉黑马',
       logo: 'https://vuejs.org/images/logo.svg'
       //  https://www.runoob.com/wp-content/uploads/2016/02/react.png
    },
  },
  mutations:{
     setLogo:function(state,{newLogo,second}){
      console.log(second,999);
      state.userInfo.logo=newLogo
    },
  },
  actions:{}
}
